#if 0
//
// Generated by Microsoft (R) HLSL Shader Compiler 6.3.9600.16384
//
//
// Buffer Definitions: 
//
// cbuffer BufferCopyParams
// {
//
//   uint FirstPixelOffset;             // Offset:    0 Size:     4
//   uint PixelsPerRow;                 // Offset:    4 Size:     4
//   uint RowStride;                    // Offset:    8 Size:     4
//   uint RowsPerSlice;                 // Offset:   12 Size:     4
//   float2 PositionOffset;             // Offset:   16 Size:     8
//   float2 PositionScale;              // Offset:   24 Size:     8
//   int2 TexLocationOffset;            // Offset:   32 Size:     8 [unused]
//   int2 TexLocationScale;             // Offset:   40 Size:     8 [unused]
//   uint FirstSlice;                   // Offset:   48 Size:     4
//
// }
//
//
// Resource Bindings:
//
// Name                                 Type  Format         Dim Slot Elements
// ------------------------------ ---------- ------- ----------- ---- --------
// BufferCopyParams                  cbuffer      NA          NA    0        1
//
//
//
// Input signature:
//
// Name                 Index   Mask Register SysValue  Format   Used
// -------------------- ----- ------ -------- -------- ------- ------
// SV_VertexID              0   x           0   VERTID    uint   x   
//
//
// Output signature:
//
// Name                 Index   Mask Register SysValue  Format   Used
// -------------------- ----- ------ -------- -------- ------- ------
// SV_Position              0   xyzw        0      POS   float   xyzw
// TEXCOORD                 0   x           1     NONE    uint   x   
// LAYER                    0    y          1     NONE    uint    y  
//
vs_4_0
dcl_constantbuffer cb0[4], immediateIndexed
dcl_input_sgv v0.x, vertex_id
dcl_output_siv o0.xyzw, position
dcl_output o1.x
dcl_output o1.y
dcl_temps 2
mov o0.zw, l(0,0,0,1.000000)
imul null, r0.xy, cb0[0].wwww, cb0[0].yzyy
udiv r0.z, null, v0.x, r0.x
imad r0.x, -r0.z, r0.x, v0.x
imad r0.y, r0.z, r0.y, cb0[0].x
iadd o1.y, r0.z, cb0[3].x
udiv r0.z, null, r0.x, cb0[0].y
imad r0.x, -r0.z, cb0[0].y, r0.x
utof r1.xy, r0.xzxx
imad r0.y, r0.z, cb0[0].z, r0.y
iadd o1.x, r0.x, r0.y
mad o0.xy, cb0[1].zwzz, r1.xyxx, cb0[1].xyxx
ret 
// Approximately 13 instruction slots used
#endif

const BYTE g_VS_BufferToTexture[] =
{
     68,  88,  66,  67,  39, 207, 
    138,  15,  42, 195, 141, 208, 
      2, 107, 135, 197, 122,  36, 
    114, 227,   1,   0,   0,   0, 
    152,   5,   0,   0,   5,   0, 
      0,   0,  52,   0,   0,   0, 
    100,   2,   0,   0, 152,   2, 
      0,   0,  12,   3,   0,   0, 
     28,   5,   0,   0,  82,  68, 
     69,  70,  40,   2,   0,   0, 
      1,   0,   0,   0,  80,   0, 
      0,   0,   1,   0,   0,   0, 
     28,   0,   0,   0,   0,   4, 
    254, 255,   0,   1,   0,   0, 
    244,   1,   0,   0,  60,   0, 
      0,   0,   0,   0,   0,   0, 
      0,   0,   0,   0,   0,   0, 
      0,   0,   0,   0,   0,   0, 
      0,   0,   0,   0,   1,   0, 
      0,   0,   1,   0,   0,   0, 
     66, 117, 102, 102, 101, 114, 
     67, 111, 112, 121,  80,  97, 
    114,  97, 109, 115,   0, 171, 
    171, 171,  60,   0,   0,   0, 
      9,   0,   0,   0, 104,   0, 
      0,   0,  64,   0,   0,   0, 
      0,   0,   0,   0,   0,   0, 
      0,   0,  64,   1,   0,   0, 
      0,   0,   0,   0,   4,   0, 
      0,   0,   2,   0,   0,   0, 
     84,   1,   0,   0,   0,   0, 
      0,   0, 100,   1,   0,   0, 
      4,   0,   0,   0,   4,   0, 
      0,   0,   2,   0,   0,   0, 
     84,   1,   0,   0,   0,   0, 
      0,   0, 113,   1,   0,   0, 
      8,   0,   0,   0,   4,   0, 
      0,   0,   2,   0,   0,   0, 
     84,   1,   0,   0,   0,   0, 
      0,   0, 123,   1,   0,   0, 
     12,   0,   0,   0,   4,   0, 
      0,   0,   2,   0,   0,   0, 
     84,   1,   0,   0,   0,   0, 
      0,   0, 136,   1,   0,   0, 
     16,   0,   0,   0,   8,   0, 
      0,   0,   2,   0,   0,   0, 
    152,   1,   0,   0,   0,   0, 
      0,   0, 168,   1,   0,   0, 
     24,   0,   0,   0,   8,   0, 
      0,   0,   2,   0,   0,   0, 
    152,   1,   0,   0,   0,   0, 
      0,   0, 182,   1,   0,   0, 
     32,   0,   0,   0,   8,   0, 
      0,   0,   0,   0,   0,   0, 
    200,   1,   0,   0,   0,   0, 
      0,   0, 216,   1,   0,   0, 
     40,   0,   0,   0,   8,   0, 
      0,   0,   0,   0,   0,   0, 
    200,   1,   0,   0,   0,   0, 
      0,   0, 233,   1,   0,   0, 
     48,   0,   0,   0,   4,   0, 
      0,   0,   2,   0,   0,   0, 
     84,   1,   0,   0,   0,   0, 
      0,   0,  70, 105, 114, 115, 
    116,  80, 105, 120, 101, 108, 
     79, 102, 102, 115, 101, 116, 
      0, 171, 171, 171,   0,   0, 
     19,   0,   1,   0,   1,   0, 
      0,   0,   0,   0,   0,   0, 
      0,   0,  80, 105, 120, 101, 
    108, 115,  80, 101, 114,  82, 
    111, 119,   0,  82, 111, 119, 
     83, 116, 114, 105, 100, 101, 
      0,  82, 111, 119, 115,  80, 
    101, 114,  83, 108, 105,  99, 
    101,   0,  80, 111, 115, 105, 
    116, 105, 111, 110,  79, 102, 
    102, 115, 101, 116,   0, 171, 
      1,   0,   3,   0,   1,   0, 
      2,   0,   0,   0,   0,   0, 
      0,   0,   0,   0,  80, 111, 
    115, 105, 116, 105, 111, 110, 
     83,  99,  97, 108, 101,   0, 
     84, 101, 120,  76, 111,  99, 
     97, 116, 105, 111, 110,  79, 
    102, 102, 115, 101, 116,   0, 
      1,   0,   2,   0,   1,   0, 
      2,   0,   0,   0,   0,   0, 
      0,   0,   0,   0,  84, 101, 
    120,  76, 111,  99,  97, 116, 
    105, 111, 110,  83,  99,  97, 
    108, 101,   0,  70, 105, 114, 
    115, 116,  83, 108, 105,  99, 
    101,   0,  77, 105,  99, 114, 
    111, 115, 111, 102, 116,  32, 
     40,  82,  41,  32,  72,  76, 
     83,  76,  32,  83, 104,  97, 
    100, 101, 114,  32,  67, 111, 
    109, 112, 105, 108, 101, 114, 
     32,  54,  46,  51,  46,  57, 
     54,  48,  48,  46,  49,  54, 
     51,  56,  52,   0, 171, 171, 
     73,  83,  71,  78,  44,   0, 
      0,   0,   1,   0,   0,   0, 
      8,   0,   0,   0,  32,   0, 
      0,   0,   0,   0,   0,   0, 
      6,   0,   0,   0,   1,   0, 
      0,   0,   0,   0,   0,   0, 
      1,   1,   0,   0,  83,  86, 
     95,  86, 101, 114, 116, 101, 
    120,  73,  68,   0,  79,  83, 
     71,  78, 108,   0,   0,   0, 
      3,   0,   0,   0,   8,   0, 
      0,   0,  80,   0,   0,   0, 
      0,   0,   0,   0,   1,   0, 
      0,   0,   3,   0,   0,   0, 
      0,   0,   0,   0,  15,   0, 
      0,   0,  92,   0,   0,   0, 
      0,   0,   0,   0,   0,   0, 
      0,   0,   1,   0,   0,   0, 
      1,   0,   0,   0,   1,  14, 
      0,   0, 101,   0,   0,   0, 
      0,   0,   0,   0,   0,   0, 
      0,   0,   1,   0,   0,   0, 
      1,   0,   0,   0,   2,  13, 
      0,   0,  83,  86,  95,  80, 
    111, 115, 105, 116, 105, 111, 
    110,   0,  84,  69,  88,  67, 
     79,  79,  82,  68,   0,  76, 
     65,  89,  69,  82,   0, 171, 
     83,  72,  68,  82,   8,   2, 
      0,   0,  64,   0,   1,   0, 
    130,   0,   0,   0,  89,   0, 
      0,   4,  70, 142,  32,   0, 
      0,   0,   0,   0,   4,   0, 
      0,   0,  96,   0,   0,   4, 
     18,  16,  16,   0,   0,   0, 
      0,   0,   6,   0,   0,   0, 
    103,   0,   0,   4, 242,  32, 
     16,   0,   0,   0,   0,   0, 
      1,   0,   0,   0, 101,   0, 
      0,   3,  18,  32,  16,   0, 
      1,   0,   0,   0, 101,   0, 
      0,   3,  34,  32,  16,   0, 
      1,   0,   0,   0, 104,   0, 
      0,   2,   2,   0,   0,   0, 
     54,   0,   0,   8, 194,  32, 
     16,   0,   0,   0,   0,   0, 
      2,  64,   0,   0,   0,   0, 
      0,   0,   0,   0,   0,   0, 
      0,   0,   0,   0,   0,   0, 
    128,  63,  38,   0,   0,  10, 
      0, 208,   0,   0,  50,   0, 
     16,   0,   0,   0,   0,   0, 
    246, 143,  32,   0,   0,   0, 
      0,   0,   0,   0,   0,   0, 
    150, 133,  32,   0,   0,   0, 
      0,   0,   0,   0,   0,   0, 
     78,   0,   0,   8,  66,   0, 
     16,   0,   0,   0,   0,   0, 
      0, 208,   0,   0,  10,  16, 
     16,   0,   0,   0,   0,   0, 
     10,   0,  16,   0,   0,   0, 
      0,   0,  35,   0,   0,  10, 
     18,   0,  16,   0,   0,   0, 
      0,   0,  42,   0,  16, 128, 
     65,   0,   0,   0,   0,   0, 
      0,   0,  10,   0,  16,   0, 
      0,   0,   0,   0,  10,  16, 
     16,   0,   0,   0,   0,   0, 
     35,   0,   0,  10,  34,   0, 
     16,   0,   0,   0,   0,   0, 
     42,   0,  16,   0,   0,   0, 
      0,   0,  26,   0,  16,   0, 
      0,   0,   0,   0,  10, 128, 
     32,   0,   0,   0,   0,   0, 
      0,   0,   0,   0,  30,   0, 
      0,   8,  34,  32,  16,   0, 
      1,   0,   0,   0,  42,   0, 
     16,   0,   0,   0,   0,   0, 
     10, 128,  32,   0,   0,   0, 
      0,   0,   3,   0,   0,   0, 
     78,   0,   0,   9,  66,   0, 
     16,   0,   0,   0,   0,   0, 
      0, 208,   0,   0,  10,   0, 
     16,   0,   0,   0,   0,   0, 
     26, 128,  32,   0,   0,   0, 
      0,   0,   0,   0,   0,   0, 
     35,   0,   0,  11,  18,   0, 
     16,   0,   0,   0,   0,   0, 
     42,   0,  16, 128,  65,   0, 
      0,   0,   0,   0,   0,   0, 
     26, 128,  32,   0,   0,   0, 
      0,   0,   0,   0,   0,   0, 
     10,   0,  16,   0,   0,   0, 
      0,   0,  86,   0,   0,   5, 
     50,   0,  16,   0,   1,   0, 
      0,   0, 134,   0,  16,   0, 
      0,   0,   0,   0,  35,   0, 
      0,  10,  34,   0,  16,   0, 
      0,   0,   0,   0,  42,   0, 
     16,   0,   0,   0,   0,   0, 
     42, 128,  32,   0,   0,   0, 
      0,   0,   0,   0,   0,   0, 
     26,   0,  16,   0,   0,   0, 
      0,   0,  30,   0,   0,   7, 
     18,  32,  16,   0,   1,   0, 
      0,   0,  10,   0,  16,   0, 
      0,   0,   0,   0,  26,   0, 
     16,   0,   0,   0,   0,   0, 
     50,   0,   0,  11,  50,  32, 
     16,   0,   0,   0,   0,   0, 
    230, 138,  32,   0,   0,   0, 
      0,   0,   1,   0,   0,   0, 
     70,   0,  16,   0,   1,   0, 
      0,   0,  70, 128,  32,   0, 
      0,   0,   0,   0,   1,   0, 
      0,   0,  62,   0,   0,   1, 
     83,  84,  65,  84, 116,   0, 
      0,   0,  13,   0,   0,   0, 
      2,   0,   0,   0,   0,   0, 
      0,   0,   4,   0,   0,   0, 
      1,   0,   0,   0,   7,   0, 
      0,   0,   2,   0,   0,   0, 
      1,   0,   0,   0,   0,   0, 
      0,   0,   0,   0,   0,   0, 
      0,   0,   0,   0,   0,   0, 
      0,   0,   0,   0,   0,   0, 
      0,   0,   0,   0,   0,   0, 
      0,   0,   0,   0,   0,   0, 
      0,   0,   0,   0,   0,   0, 
      0,   0,   0,   0,   0,   0, 
      1,   0,   0,   0,   0,   0, 
      0,   0,   1,   0,   0,   0, 
      0,   0,   0,   0,   0,   0, 
      0,   0,   0,   0,   0,   0, 
      0,   0,   0,   0,   0,   0, 
      0,   0,   0,   0,   0,   0, 
      0,   0,   0,   0
};
